//1.医院设置中 获取分页列表请求的 参数类型 1
export interface getHosSetListParamsType {
  page: number,
  limit: number,
  //：？可选参数
  hosname?: string,
  hoscode?: string
}

//2.医院设置中,获取分页列表请求的 返回值类型
//返回值的Records中每一项的类型
export interface getHosSetListItemsType {
  id: number,
  createTime: string,
  updateTime: string,
  isDeleted: number,
  param: object,
  hosname: string,
  hoscode: string,
  apiUrl: string,
  signKey: string,
  contactsName: string,
  contactsPhone: string,
  status: 0 | 1
}

//返回值的Records这个数组的类型 2
export type getHosSetListRecordsType = getHosSetListItemsType[];

//返回的完整类型 3
export interface getHosSetListReturnType {
  records: getHosSetListRecordsType,
  total: number,
  size: number,
  current: number,
  orders: any[],
  hitCount: boolean,
  searchCount: boolean,
  pages: number
}

//新增医院数据类型
export interface addHospitalRequestType{
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
    hoscode: string,
    hosname: string,
    id?:string
  }
// //修改的医院列表数据类型
// export interface changeHosSetRequestTypt extends addHospitalRequestType{
//   id:string
// }